package com.qixin.api.mapper;

import com.qixin.api.bean.ComUserCarRenting;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qixin.api.bean.pojo.WelcomScroll;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 用户租车中间表 Mapper 接口
 * </p>
 *
 * @author 吕正睿
 * @since 2018-11-12
 */
public interface ComUserCarRentingMapper extends BaseMapper<ComUserCarRenting> {
	Integer updategrouding(@Param("carid") Long id);
	Integer updaterefresh(@Param("datetime") Long datetime);
	Integer updategroudinga(@Param("carid") Long id,@Param("number") Long number);
	List<WelcomScroll> findWelcomScroll(@Param("ptId") Long id );
	int  delectcarid(@Param("carId") Long carId,@Param("userId") Long userId);
}